import {useState,useCallback,memo} from 'react'
import {Button} from 'antd'

function UseCallbackChild(props){
    console.log(' UseCallbackChild render ...')
    


    return(
    <>
       b:{props.b.age} <Button onClick={props.addB} type="primary"> +1  </Button>
    </>
    )
}
export default memo(UseCallbackChild);